﻿using QLNS_v1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QLNS_v1.Bus
{
public class PhuCap_Bus
    {
    NhanVienContextDataContext nhanvien = new NhanVienContextDataContext();
        public List<PhuCap> ListPhuCap()
        {
            var phucap = from pc in nhanvien.PhuCaps select pc;
            return phucap.ToList<PhuCap>();
        }
    }
}
